package jzqb.dao.impl;

import cnki.tpi.kbatis.sqlsession.SqlSession;
import cnki.tpi.kbatis.utils.DataSourceUtil;
import jzqb.dao.MonitorDao;
import jzqb.po.MonitorPo;
import org.springframework.stereotype.Repository;


@Repository
public class MonitorDaompl implements MonitorDao {
    @Override
    public Boolean record( MonitorPo po){
        SqlSession sqlSession = DataSourceUtil.getSqlSession();
        String statementId = "jzqb.dao.MonitorDao.record";
        Boolean res = sqlSession.executeInsert(statementId,po);
        return res;
    };
}
